package com.qn.analyze.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.qn.analyze.entity.IpAddressMetrics;
import com.qn.analyze.entity.IpAddressRiskMetrics;
import com.qn.analyze.vo.IpaddressMetricsQueryVo;
import com.qn.analyze.vo.IpaddressRiskMetricsQueryVo;
import com.qn.core.resources.ResourcesDs;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
public interface IpAddressMetricsMapper {
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getContinentList(@Param("where") IpaddressMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getCountryList(@Param("where") IpaddressMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getRegionList(@Param("where") IpaddressMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getCityList(@Param("where") IpaddressMetricsQueryVo where);
    
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getAnsList(@Param("where") IpaddressMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getTimezoneList(@Param("where") IpaddressMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<IpAddressRiskMetrics> getRiskList(@Param("where") IpaddressRiskMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<IpAddressMetrics> getCountryStatisticsList(@Param("where") IpaddressMetricsQueryVo where);

}
